home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
filextrt.zip
/
README
< prev
Wrap
Text File
|
1991-10-21
|
1KB
|
27 lines
Here is a useful little program I just wrote. It is freeware.
This program lets you extract a block of bytes from a file. It puts
these bytes into another file. The use is fairly obvious, just run the
program, FILEXTRT, with no param for help.
I am enclosing C source and DOS executalbe, it will compile on DOS
(Turbo C) or on Unix. When compiling on DOS, make sure the variable
MSDOS is defined for the C comiple! Nothing special is needed for the
Unix compile.
I wrote this when a I tried to download a 600K file from a remote
system. Even at 9600 bps this takes awhile. After 593K the phone lines
died. I needed a program to split off the last few potentially bad
bytes from what was already downloaded and to extract the 7K bytes from
the file end.
Some precautions. After downloading and recombining do a sum -r on both
sides. (I posted a Unix compatible DOS sum -r program last year). Also
to combine files on DOS use the "/b" option:
copy /b FILE1 + FILE2 + ... + FILEN FILE.ALL
Richard Marks
rmarks@MDC.unisys.COM